import request from '@/utils/request_axios'

/**
 * 查询垃圾短信数据
 */
export function getSpamData() {
  return request({
    url: '/spam/',
    method: 'GET',
    data
  })
}

/**
 * 健康度分析查询
 */
export function healthData (data) {
  return request({
    url: '/spam/schedule',
    method: 'GET',
    data
  })
}

/**
 * 内容跨域
 */
export function crossData (data) {
  return request({
    url: '/spam/cross',
    method: 'GET',
    data
  })
}

/**
* 签名
*/
export function signData (data) {
  return request({
    url: '/spam/sign',
    method: 'GET',
    data
  })
}

/**
 * 加黑名单
 */
export function blackListData (data) {
  return request({
    url: '/spam/black',
    method: 'GET',
    data
  })
}

/**
* 端口预警
*/
export function portwarningData (data) {
  return request({
    url: '/spam/alarm',
    method: 'GET',
    data
  })
}

/**
 * 高危端口
 */
export function riskportsData (data) {
  return request({
    url: '/spam/alarm',
    method: 'GET',
    data
  })
}